<?php

class Application_Form_InternRequestAdmin extends Zend_Form
{
	
    public function init()
    {
    $this->setMethod('post');		

	$this->addElement('radio','ACCEPT',array(
		'label'=>'Term Matches',
		'MultiOptions'=> array('y'=>'Accept','n'=>'Deny'),
		'separator'=>"&nbsp;&nbsp;",
		)
	);
	
	/*commented features that didn't get working correctly;
	would preload dropdown with valid quantities
	$quantities = array();
	for($i=0; $i<=$this->qtyRequested;$i++){
		$quantities[$i] = $i;
	}
	
	$this->addElement('select','internsGranted',array(
		'label'=>'Number of positions granted:',
		'MultiOptions'=>$quantities
		)
	);
	*/
	
	$this->addElement('text','GRANT',array(
		'label'=>'Number of positions granted: (value ignored if position denied)',
		'validators'=>array(
			'Digits',
			),
		)
	);

	$this->addElement('submit','submit',array(
	    'label' => 'Submit',
		)
	);
	}


}

